<template>
  <div class="environmental-monitoring">
    <el-row>
      <el-col :span="12">
        <div class="item">
          <div class="title">
            <span>环境温湿度</span>
            <img
              class="envi-icon"
              src="../images/temperature-icon.png"
              alt=""
            />
          </div>
          <div class="content">
            <ul class="ul">
              <li class="title">
                <span>设备名称</span>
                <span>通讯状态</span>
                <span>温度</span>
                <span>湿度</span>
              </li>
              <li class="title item-con">
                <span>设备1</span>
                <span class="status">异常</span>
                <span>0.0℃</span>
                <span>0.0%rh</span>
              </li>
              <li class="title item-con">
                <span>设备1</span>
                <span class="status">异常</span>
                <span>0.0℃</span>
                <span>0.0%rh</span>
              </li>
              <li class="title item-con">
                <span>设备1</span>
                <span class="status">异常</span>
                <span>0.0℃</span>
                <span>0.0%rh</span>
              </li>
              <li class="title item-con">
                <span>设备1</span>
                <span class="status">异常</span>
                <span>0.0℃</span>
                <span>0.0%rh</span>
              </li>
            </ul>
          </div>
        </div>
      </el-col>
      <el-col :span="12">
        <div class="item">
          <div class="title">
            <span>烟感监测</span>
            <img class="smoking-icon" src="../images/yanwu-icon.png" alt="" />
          </div>
          <div class="content">
            <ul class="ul">
              <li class="title">
                <span>设备名称</span>
                <span>通讯状态</span>
                <span>报警状态</span>
              </li>
              <li class="title item-con">
                <span>设备1</span>
                <span class="status">异常</span>
                <span>正常</span>
              </li>
              <li class="title item-con">
                <span>设备1</span>
                <span class="status">异常</span>
                <span>正常</span>
              </li>
              <li class="title item-con">
                <span>设备1</span>
                <span class="status">异常</span>
                <span>正常</span>
              </li>
              <li class="title item-con">
                <span>设备1</span>
                <span class="status">异常</span>
                <span>正常</span>
              </li>
            </ul>
          </div>
        </div>
      </el-col>
    </el-row>
    <el-row class="el-row">
      <el-col :span="12">
        <div class="item">
          <div class="title">
            <span>水浸监测</span>
            <img class="shuijin-icon" src="../images/shuijin-icon.png" alt="" />
          </div>
          <div class="content">
            <ul class="ul">
              <li class="title">
                <span>设备名称</span>
                <span>通讯状态</span>
                <span>报警状态</span>
              </li>
              <li class="title item-con">
                <span>设备1</span>
                <span class="status">异常</span>
                <span>正常</span>
              </li>
              <li class="title item-con">
                <span>设备1</span>
                <span class="status">异常</span>
                <span>正常</span>
              </li>
              <li class="title item-con">
                <span>设备1</span>
                <span class="status">异常</span>
                <span>正常</span>
              </li>
              <li class="title item-con">
                <span>设备1</span>
                <span class="status">异常</span>
                <span>正常</span>
              </li>
            </ul>
          </div>
        </div>
      </el-col>
      <el-col :span="12">
        <div class="item">
          <div class="title">
            <span>水位监测</span>
            <img class="shuiwei-icon" src="../images/shuiwei-icon.png" alt="" />
          </div>
          <div class="content">
            <ul class="ul">
              <li class="title">
                <span>设备名称</span>
                <span>通讯状态</span>
                <span>报警状态</span>
              </li>
              <li class="title item-con">
                <span>设备1</span>
                <span class="status">异常</span>
                <span>正常</span>
              </li>
              <li class="title item-con">
                <span>设备1</span>
                <span class="status">异常</span>
                <span>正常</span>
              </li>
              <li class="title item-con">
                <span>设备1</span>
                <span class="status">异常</span>
                <span>正常</span>
              </li>
              <li class="title item-con">
                <span>设备1</span>
                <span class="status">异常</span>
                <span>正常</span>
              </li>
            </ul>
          </div>
        </div>
      </el-col>
    </el-row>
  </div>
</template>
<script lang="ts" setup></script>
<style lang="scss" scoped>
.environmental-monitoring {
  width: 100%;
  height: 100%;
  padding-top: 18px;
  padding-left: 40px;
  padding-right: 50px;
  .item {
    background: url("../images/enviroment-item-bgc.png") no-repeat;
    background-size: 100% 100%;
    width: 752px;
    height: 340px;
    .content {
      width: 752px;
      .ul {
        .title {
          display: flex;
          padding-left: 60px;
          padding-right: 70px;
          span {
            width: 90px;
            font-family: Source Han Sans CN;
            font-weight: 400;
            text-align: center;
            font-size: 20px;
            color: #ffffff;
          }
        }
        .item-con {
          height: 40px;

          span {
            font-family: Source Han Sans CN;
            font-weight: 400;
            font-size: 18px;
            color: #cdcdcd;
          }
          .status {
            color: #ff0000;
          }
        }
      }
    }
    .title {
      width: 752px;
      padding-left: 24px;
      height: 55px;

      padding-right: 30px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      span {
        font-family: Source Han Sans CN;
        font-weight: 500;
        font-size: 24px;
        color: #ffffff;
      }

      .smoking-icon {
        width: 31px;
        height: 29px;
      }
      .envi-icon {
        width: 23px;
        height: 32px;
      }
      .shuiwei-icon {
        width: 35px;
        height: 35px;
      }
      .shuijin-icon {
        width: 33px;
        height: 35px;
      }
    }
  }
  .el-row {
    margin-top: 5px;
  }
}
</style>
